M156: remove incorrect check for None values