Fixed typo Where add wasn't in if statement.