fixed bug allowing user to only vote on a related post or comment not both