Currently it queries all the records instead of filtering. Changed that
into a filter so only relevant action_executions are requested.
External bugzilla bug https://bugzilla.redhat.com/show_bug.cgi?id=1718573
Change-Id: Ic8281cf47e587e193efda9dfa509abd16a1cf67e
(cherry picked from commit 3e9b858cf7)