Added date convenience function. Made findById more forgiving.