Also fixed issue when user would dislike a post. If the only like left is from the user and the user dislikes the item, then the entire 'likes' property is deleted and the code wasn't expecting an empty property. Wired up to expect undefined property
Also fixed issue when user would dislike a post. If the only like left is from the user and the user dislikes the item, then the entire 'likes' property is deleted and the code wasn't expecting an empty property. Wired up to expect undefined property