First attempt at a nasty bug related with invalid safefids