engine: fix clutser policy bugs

which were discovered while verifying RESTful implementation for
scheduling feature.

Change-Id: I136e42882c1642380eb641689fc39f3a72d1f789
Signed-off-by: Gilad Chaplik <gchaplik@redhat.com>