fixed action_arg bug breaking postgres

this was causing breakage in postgres and potentially hidden bugs in mysql