https://github.com/parthaa/katello/commit/07b6a274361a489b92a89b21a8d0890a7edb2862 should fix your issues brad