Added vote dependency

Made sure all votes would be deleted if a post is deleted