Settings: Redirect to referer when available
array_intersect() breaks with nested array in php 5.4