When I\'m running the following query in our database, I get the incorrect result:
db_name=# select * from user_session where user_id = 30950 and study_id = 1249;