Refactored a few potential bugs in NSDateExtensions