Remove uncessary ? operator when returning boolean values for @first and @last