Fixed: Wrong SQL queries
Typo