Correcting SQL for required_options column; this is an INT column, so the value passed to ORM does not need to be string.