Minor fixes; check empty objects
Check the mod/assign:submit permission before submitting