Fixed misnaming of query variable: Used camelcase instead of underscore