Fixed old PHP versions not liking array index on function return
Fixed another instance of old PHP versions not liking array index on function return