Trapped upper hybrid waves as eigenmodes of non-monotonic background density profiles