Deleted redundant null checks

Found by Eclipse