Fixed free appointement select

Signed-off-by: Petr Kubat <xkubat11@stud.fit.vutbr.cz>