Simplified contains()-method
Calling getLastNode()-method instead of evaluating it in here
Deleted row