When work flexibility discourages employees: nobody wants to continue working at ten at night