Put back argument checking code bits of revision 1.9 that were reverted by previous commit, fulfilling regression tests again. (Please be careful when updating from CVS!)
Put back argument checking code bits of revision 1.9 that were
reverted by previous commit, fulfilling regression tests again.
(Please be careful when updating from CVS!)

tiborsimko/invenio,tiborsimko/invenio,inveniosoftware/invenio,inveniosoftware/invenio