[SR-Users] Negative value returned when using sql_pvquery