fixes wrong behavior if attribute "fraisr_id" is not null, but an empty string