Bug Fixes for submitting actions and badge predicates.