fix page break if no candidates left [MJ-503]