Fixed bug with empty arrays notice