Changed an empty equalsIgnoreCase to use the isEmpty method that a String has