Fix check of issuing date while adding profile