SERVER-16431 Simplify DB profile code