Fixed delete account bug (again, but for real this time)

Fixed the query.