Fix PHP notice when showing only one detail/meta on post