xmlhandlers: Removed an unnecessary check