Bugfixes on floweru+greedy.

Signed-off-by: Viktor Tomkovič <viktor.tomkovic@gmail.com>