Added missing end and removed unnecessary returns
Merge pull request #1 from tomkadwill/default_comparer_fix

Added missing end and removed unnecessary returns