fix bug with related_question_sheet_id being wrong

had to do with like in postgres on being case insensitive, though in
this case we want case sensitive but to match REFERENCE since it's the
naming convention being followed