Removed 2 checks that do not apply anymore after Apache SIS change.