Fixes:

* fixes parameters names,
* cast record_id in compliance check to INT,
* changes full path to use invenio.config variable.