Bug; update session query method from find_by, to where