Fix issue with checking array for push ability