Fixed the ng-show error that was happening on some items