ilastik/shell/projectManager.py: When checking whether to serialize verify that shouldSerialize is True also.