missing sql escaping when converting taskjoblogs
[update] skip empty returncode checks in database

This is not meant to happen but since I encountered those empty entries
and empty returncode check is not shown in package form, we can safely
drop them during the upgrade process.