Fixed error in a database query: removed hardcoded database prefix