[#1448] fix crash from previous fix
[#1448] fix crash from previous fix

PaulVanSchayck/irods,PaulVanSchayck/irods,janiheikkinen/irods,leesab/irods,janiheikkinen/irods,leesab/irods,janiheikkinen/irods,PaulVanSchayck/irods,janiheikkinen/irods,leesab/irods,PaulVanSchayck/irods,janiheikkinen/irods,PaulVanSchayck/irods,PaulVanSchayck/irods,janiheikkinen/irods,PaulVanSchayck/irods,janiheikkinen/irods,leesab/irods,leesab/irods,leesab/irods,PaulVanSchayck/irods,janiheikkinen/irods,PaulVanSchayck/irods,janiheikkinen/irods,leesab/irods