Addressing #188

. . . where an incorrectly built SQL query WHERE clause part caused a
MySQL error on upgrade if the theme exclude setting is not empty.