adding fix for if post has default votes value of nil