Misc small fixes
Commited fix to issue #1066 (http://ocportal.com/tracker/view.php?id=1066). [Error on some posting forms about missing fields]