Fixing working period overlap bug

Could create working periods that fully contained a current working
period, e.g. create 8am-6pm Monday when 9am-5pm Monday exists. Now
fixed.