avoid race condition filtering for bgapi Job-UUID, and remove filter rule afterwards
minor style changes