Can be combined into previous if statement.