Fixed two bugs in beamtime editing

Fixed an error if no maintenance shifts are selected while editing a
beamtime as well as fixed removing already subscribed users from shifts
which became maintenance shifts properly (changed count() to isEmpty() in if
statement)