[SR-Users] avp_db_query returning wrong data