Invalid loadConfiguration() SQL query