fixed #224: returning 404 for invalid record ids
Merge pull request #226 from B2SHARE/record/inexisting-#224

fixed #224: returning 404 for invalid record ids