Removing redundant check