Removed a bit of debug code which would have displayed $exposed['single'] if it was neither 0 nor 1, presumably won't happen ever.