fix nextFreebusy/prevFreebusy

Signed-off-by: Jan Schneider <jan@horde.org>
Bug: 13757
Simplify, coding style (Bug #13757).