Fixed the equals comparison