Modified DatabaseObject

Added in conditions for when only origin, destination, or date is
entered.