Glad you finally managed to sort it out! And thanks for posting up the solution - that was very confusing.