Close the form tags properly
Only push the keywords to Resque if the criteria_id is not nil but make sure this is not handled in the worker itself.