Previous commit made a stupid mistake, fixed the select criteria