928413 - fix query used to determine of bind has pending actions.

https://bugzilla.redhat.com/show_bug.cgi?id=928413