second attempt to fix likes module.

better filtering of posts to like, correctly ignore error when trying to like a post that was already liked.