Update manager.rb

Added conditional for invalid date range