{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angularfire2/issues/73","repository_url":"https://api.github.com/repos/angular/angularfire2","labels_url":"https://api.github.com/repos/angular/angularfire2/issues/73/labels{/name}","comments_url":"https://api.github.com/repos/angular/angularfire2/issues/73/comments","events_url":"https://api.github.com/repos/angular/angularfire2/issues/73/events","html_url":"https://github.com/angular/angularfire2/issues/73","id":139371298,"number":73,"title":"FirebaseListObservable emits duplicate values for first insert","user":{"login":"jteplitz602","id":193422,"avatar_url":"https://avatars.githubusercontent.com/u/193422?v=3","gravatar_id":"","url":"https://api.github.com/users/jteplitz602","html_url":"https://github.com/jteplitz602","followers_url":"https://api.github.com/users/jteplitz602/followers","following_url":"https://api.github.com/users/jteplitz602/following{/other_user}","gists_url":"https://api.github.com/users/jteplitz602/gists{/gist_id}","starred_url":"https://api.github.com/users/jteplitz602/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jteplitz602/subscriptions","organizations_url":"https://api.github.com/users/jteplitz602/orgs","repos_url":"https://api.github.com/users/jteplitz602/repos","events_url":"https://api.github.com/users/jteplitz602/events{/privacy}","received_events_url":"https://api.github.com/users/jteplitz602/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/angular/angularfire2/labels/comp:%20Firebase(List%20%7C%20Object)","name":"comp: Firebase(List | Object)","color":"c7def8"},{"url":"https://api.github.com/repos/angular/angularfire2/labels/type:%20bug","name":"type: bug","color":"EEEEEE"}],"state":"closed","locked":false,"assignee":{"login":"jteplitz602","id":193422,"avatar_url":"https://avatars.githubusercontent.com/u/193422?v=3","gravatar_id":"","url":"https://api.github.com/users/jteplitz602","html_url":"https://github.com/jteplitz602","followers_url":"https://api.github.com/users/jteplitz602/followers","following_url":"https://api.github.com/users/jteplitz602/following{/other_user}","gists_url":"https://api.github.com/users/jteplitz602/gists{/gist_id}","starred_url":"https://api.github.com/users/jteplitz602/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jteplitz602/subscriptions","organizations_url":"https://api.github.com/users/jteplitz602/orgs","repos_url":"https://api.github.com/users/jteplitz602/repos","events_url":"https://api.github.com/users/jteplitz602/events{/privacy}","received_events_url":"https://api.github.com/users/jteplitz602/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2016-03-08T19:28:58Z","updated_at":"2016-04-08T14:37:57Z","closed_at":"2016-04-08T14:37:57Z","body":"If I subscribe to an empty list, and then add a new value to that list it looks like that value is getting emitted twice. For example if I do:\r\n\r\n```typescript\r\nlet observable = this._angularFire.list('my_path', {preserveSnapshot: true});\r\nobservable.subscribe ((l) => {\r\n  console.log('length', l.length);\r\n});\r\nsetTimeout(() => {\r\n  observable.add({text: 'new'});\r\n}, 1);\r\n```\r\nIf 'my_path' is initially empty this will output:\r\nlength 1\r\nlength 2\r\n\r\nThe 2 is erroneous and contains a duplicate entry.\r\n\r\nIt doesn't look like this problem occurs if 'my_path' is not initially empty.\r\n"},"comment":{"url":"https://api.github.com/repos/angular/angularfire2/issues/comments/207456143","html_url":"https://github.com/angular/angularfire2/issues/73#issuecomment-207456143","issue_url":"https://api.github.com/repos/angular/angularfire2/issues/73","id":207456143,"user":{"login":"davideast","id":4570265,"avatar_url":"https://avatars.githubusercontent.com/u/4570265?v=3","gravatar_id":"","url":"https://api.github.com/users/davideast","html_url":"https://github.com/davideast","followers_url":"https://api.github.com/users/davideast/followers","following_url":"https://api.github.com/users/davideast/following{/other_user}","gists_url":"https://api.github.com/users/davideast/gists{/gist_id}","starred_url":"https://api.github.com/users/davideast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davideast/subscriptions","organizations_url":"https://api.github.com/users/davideast/orgs","repos_url":"https://api.github.com/users/davideast/repos","events_url":"https://api.github.com/users/davideast/events{/privacy}","received_events_url":"https://api.github.com/users/davideast/received_events","type":"User","site_admin":false},"created_at":"2016-04-08T14:37:57Z","updated_at":"2016-04-08T14:37:57Z","body":"Closed"}}