Fixed categorization of post (+ mysql 5.7)