Final fix to exclude REVISION records from assignedWOrk list