Fix BackendConfigurationManager

Fix invalid SQL and SQL Injection possibility