@Veho - Unlikely, Toby Fox is a master of properly using leitmotifs and the like.
I'd be very suprised if it's unintentional. (Some Undertale tracks use Homestuck music as their base, and even those tend to be used in thematically similar situations.)