Patch the cleaning of invalid users

This patch avoids the crash of the cronjob during the cleanup of invalid profiles

This should be merged after !312 (merged)

Fixes #539

Merge request reports

Loading