Implemented what could be a fix for bug #1356: Pazpar2 crashes for some