Topworks not being placed on same level as valve or piping

My OP piping is being placed in the model using service codes, the levels are being created successfully. When I place a valve, the valve is being placed on the correct service level however the topworks are being incorrectly placed on the active level. How do I ensure the topworks are being placed on the same level as the valves and piping? Do I need to create new Named Expressions and Element Classes?