remove dangling AND in SQL statement
Merge pull request #3774 from owncloud/fix_sql_in_vcategories

remove dangling AND in SQL statement