Fixed issue where <ul> tag was not closed when number of apps was not divisible by 4