Changed array_diff to internal function to avoid notice errors in PHP 5.4