Removed a redundant check of a known non-null value